﻿using JavaDevToys.Rcl.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JavaDevToys.Platforms.Windows.Service.Impl
{
    public class ClipboardService : IClipboardService
    {
        public async Task SetTextAsync(string text)
        {
            await Clipboard.Default.SetTextAsync(text);
        }

        public async Task<string> GetTextAsync()
        {
            return await Clipboard.Default.GetTextAsync();
        }
    }
}
